2025-11-07T14:59:29.435Z INFO ComponentImageRepository controller/component_image_controller.go:160 Will create image repository {"controller": "component", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Component", "Component": {"name":"python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "python-component-xzaufd", "reconcileID": "b5dd94a1-8a7e-422d-86e5-fbd34c83fbc4", "ImageRepositoryName": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "ComponentName": "python-component-xzaufd"} 2025-11-07T14:59:29.657Z ERROR ComponentImageRepository controller/component_image_controller.go:186 failed to create image repository {"controller": "component", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Component", "Component": {"name":"python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "python-component-xzaufd", "reconcileID": "b5dd94a1-8a7e-422d-86e5-fbd34c83fbc4", "ImageRepositoryName": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "ComponentName": "python-component-xzaufd", "error": "imagerepositories.appstudio.redhat.com \"imagerepository-for-integ-app-wsuk-python-component-xzaufd\" already exists"} github.com/konflux-ci/image-controller/internal/controller.(*ComponentReconciler).Reconcile /workspace/internal/controller/component_image_controller.go:186 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:116 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:303 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-07T14:59:29.657Z ERROR controller/controller.go:316 Reconciler error {"controller": "component", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Component", "Component": {"name":"python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "python-component-xzaufd", "reconcileID": "b5dd94a1-8a7e-422d-86e5-fbd34c83fbc4", "error": "imagerepositories.appstudio.redhat.com \"imagerepository-for-integ-app-wsuk-python-component-xzaufd\" already exists"} sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:316 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-07T14:59:29.952Z INFO ImageRepository.ImageRepositoryProvision.ProvisionImageRepositoryAccess controller/imagerepository_controller.go:791 Image repository secret created {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "bc17ab2d-1e25-4da8-93ae-d130fde6adf7", "IsPullOnly": true, "SecretName": "imagerepository-for-integ-app-wsuk-python-component-xzaufd-image-pull"} 2025-11-07T14:59:30.003Z INFO ImageRepository.ImageRepositoryProvision.GrantAdditionalRepositoryAccessToTeam controller/imagerepository_controller.go:579 Config map with additional users doesn't exist {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "bc17ab2d-1e25-4da8-93ae-d130fde6adf7", "ConfigMapName": "image-controller-additional-users", "action": "VIEW"} 2025-11-07T14:59:30.060Z INFO ImageRepository.ImageRepositoryProvision controller/imagerepository_controller.go:517 Finished provision of image repository and added finalizer {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "bc17ab2d-1e25-4da8-93ae-d130fde6adf7"} 2025-11-07T14:59:30.378Z INFO ImageRepository controller/imagerepository_controller.go:997 Application pull secret updated with new registry auth {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "5573be72-dfad-49f4-868d-4c579de84e52", "application": "integ-app-wsuk"} 2025-11-07T14:59:30.452Z INFO ImageRepository controller/imagerepository_controller_service_account.go:84 Added secret link to service account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "5573be72-dfad-49f4-868d-4c579de84e52", "ServiceAccountName": "build-pipeline-python-component-xzaufd", "SecretName": "imagerepository-for-integ-app-wsuk-python-component-xzaufd-image-push", "action": "UPDATE"} 2025-11-07T14:59:30.495Z INFO ImageRepository controller/imagerepository_controller.go:259 Updated component's ContainerImage {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "5573be72-dfad-49f4-868d-4c579de84e52", "ComponentName": "python-component-xzaufd"} 2025-11-07T14:59:30.509Z INFO ComponentImageRepository controller/component_image_controller.go:191 Image repository already exists {"controller": "component", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Component", "Component": {"name":"python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "python-component-xzaufd", "reconcileID": "cfa353a0-73f0-4353-ae6f-3dde44e4e14e", "ImageRepositoryName": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "ComponentName": "python-component-xzaufd"} 2025-11-07T14:59:30.523Z INFO ImageRepository controller/imagerepository_controller.go:266 Updated image repository annotation {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-wsuk-python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "imagerepository-for-integ-app-wsuk-python-component-xzaufd", "reconcileID": "5573be72-dfad-49f4-868d-4c579de84e52"} 2025-11-07T14:59:30.554Z INFO ComponentImageRepository controller/component_image_controller.go:204 Component updated successfully, 'generate' annotation removed {"controller": "component", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Component", "Component": {"name":"python-component-xzaufd","namespace":"group-dibl"}, "namespace": "group-dibl", "name": "python-component-xzaufd", "reconcileID": "cfa353a0-73f0-4353-ae6f-3dde44e4e14e", "ComponentName": "python-component-xzaufd"} 2025-11-07T14:59:34.316Z ERROR ImageRepository controller/imagerepository_controller_service_account.go:131 failed to update service account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "0699dd8d-152b-4055-8e1f-ff04554e2dc0", "ServiceAccountName": "build-pipeline-test-comp-pac-gitlab-qtssyh", "SecretName": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh-image-push", "action": "UPDATE", "error": "Operation cannot be fulfilled on serviceaccounts \"build-pipeline-test-comp-pac-gitlab-qtssyh\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/serviceaccounts/gitlab-rep-pmyr/build-pipeline-test-comp-pac-gitlab-qtssyh, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 009c70f2-7394-46a4-9e62-4ebc2b789e25, UID in object meta: "} github.com/konflux-ci/image-controller/internal/controller.(*ImageRepositoryReconciler).unlinkSecretFromServiceAccount /workspace/internal/controller/imagerepository_controller_service_account.go:131 github.com/konflux-ci/image-controller/internal/controller.(*ImageRepositoryReconciler).Reconcile /workspace/internal/controller/imagerepository_controller.go:128 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:116 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:303 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-07T14:59:34.317Z ERROR ImageRepository controller/imagerepository_controller.go:129 failed to unlink secret from service account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "0699dd8d-152b-4055-8e1f-ff04554e2dc0", "SaName": "build-pipeline-test-comp-pac-gitlab-qtssyh", "SecretName": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh-image-push", "action": "UPDATE", "error": "Operation cannot be fulfilled on serviceaccounts \"build-pipeline-test-comp-pac-gitlab-qtssyh\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/serviceaccounts/gitlab-rep-pmyr/build-pipeline-test-comp-pac-gitlab-qtssyh, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 009c70f2-7394-46a4-9e62-4ebc2b789e25, UID in object meta: "} github.com/konflux-ci/image-controller/internal/controller.(*ImageRepositoryReconciler).Reconcile /workspace/internal/controller/imagerepository_controller.go:129 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:116 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:303 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-07T14:59:34.317Z ERROR controller/controller.go:316 Reconciler error {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "0699dd8d-152b-4055-8e1f-ff04554e2dc0", "error": "Operation cannot be fulfilled on serviceaccounts \"build-pipeline-test-comp-pac-gitlab-qtssyh\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/serviceaccounts/gitlab-rep-pmyr/build-pipeline-test-comp-pac-gitlab-qtssyh, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 009c70f2-7394-46a4-9e62-4ebc2b789e25, UID in object meta: "} sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:316 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-07T14:59:34.389Z INFO ImageRepository controller/imagerepository_controller.go:1137 Application pull secret updated after removing registry auth {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "7e15d7c5-aebf-469b-90a9-030071878e05", "application": "integ-app-jnid"} 2025-11-07T14:59:34.538Z INFO Application controller/application_controller.go:400 Removed secret link from service account {"controller": "application", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Application", "Application": {"name":"integ-app-jnid","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "integ-app-jnid", "reconcileID": "68c0591f-e0c4-40fa-a63a-07140731ddeb", "ServiceAccountName": "konflux-integration-runner", "SecretName": "integ-app-jnid-pull", "action": "UPDATE"} 2025-11-07T14:59:34.648Z INFO Application controller/application_controller.go:101 Application finalizer removed {"controller": "application", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Application", "Application": {"name":"integ-app-jnid","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "integ-app-jnid", "reconcileID": "68c0591f-e0c4-40fa-a63a-07140731ddeb", "action": "DELETE"} 2025-11-07T14:59:34.866Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:688 Deleted push robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "7e15d7c5-aebf-469b-90a9-030071878e05", "RobotAccountName": "gitlab_rep_pmyr_test_comp_pac_gitlab_qtssyh_7dd32550ce", "action": "DELETE"} 2025-11-07T14:59:35.507Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:697 Deleted pull robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "7e15d7c5-aebf-469b-90a9-030071878e05", "RobotAccountName": "gitlab_rep_pmyr_test_comp_pac_gitlab_qtssyh_a6d502e358_pull", "action": "DELETE"} 2025-11-07T14:59:36.354Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:711 Deleted image repository {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "7e15d7c5-aebf-469b-90a9-030071878e05", "ImageRepository": "gitlab-rep-pmyr/test-comp-pac-gitlab-qtssyh", "action": "DELETE"} 2025-11-07T14:59:37.112Z INFO ImageRepository controller/imagerepository_controller.go:170 Image repository finalizer removed {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh","namespace":"gitlab-rep-pmyr"}, "namespace": "gitlab-rep-pmyr", "name": "imagerepository-for-integ-app-jnid-test-comp-pac-gitlab-qtssyh", "reconcileID": "7e15d7c5-aebf-469b-90a9-030071878e05", "action": "DELETE"}